#include "FlipProcessor.h"

FlipProcessor::FlipProcessor(int w, int h)
{
    width = w;
    height = h;
}

void FlipProcessor::setupComponents(){
    Processor = new FlipProcessorProcessor(width, height);
    Controller = new FlipProcessorController((FlipProcessorProcessor*)Processor);
    ConfigPanelInitializer = new FlipProcessorConfigPanel((FlipProcessorController*)Controller);
}

FlipProcessor::~FlipProcessor(){
    delete ConfigPanelInitializer;
    delete Controller;
    delete Processor;
}
